package com.ruoyi.labdanger.service;

import java.util.List;
import com.ruoyi.labdanger.domain.LabApplyPurchase;

/**
 * 申请采购Service接口
 * 
 * @author winner pan
 * @date 2022-03-09
 */
public interface ILabApplyPurchaseService {
	/**
	 * 查询申请采购
	 * 
	 * @param instanceId
	 *            申请采购ID
	 * @return 申请采购
	 */
	public LabApplyPurchase selectLabApplyPurchaseById(Long instanceId);

	/**
	 * 查询申请采购列表
	 * 
	 * @param labApplyPurchase
	 *            申请采购
	 * @return 申请采购集合
	 */
	public List<LabApplyPurchase> selectLabApplyPurchaseList(LabApplyPurchase labApplyPurchase);

	/**
	 * 新增申请采购
	 * 
	 * @param labApplyPurchase
	 *            申请采购
	 * @return 结果
	 */
	public LabApplyPurchase insertLabApplyPurchase(LabApplyPurchase labApplyPurchase);

	/**
	 * 修改申请采购
	 * 
	 * @param labApplyPurchase
	 *            申请采购
	 * @return 结果
	 */
	public int updateLabApplyPurchase(LabApplyPurchase labApplyPurchase);

	/**
	 * 批量删除申请采购
	 * 
	 * @param instanceIds
	 *            需要删除的申请采购ID
	 * @return 结果
	 */
	public int deleteLabApplyPurchaseByIds(Long[] instanceIds);

	/**
	 * 删除申请采购信息
	 * 
	 * @param instanceId
	 *            申请采购ID
	 * @return 结果
	 */
	public int deleteLabApplyPurchaseById(Long instanceId);

	public int submitLabApplyPurchase(LabApplyPurchase labApplyPurchase);

	public int updateAcademyPurchase(LabApplyPurchase labApplyPurchase);

	public List<LabApplyPurchase> selectForAcademyPurchase(Long purchaseId);
}
